import React from "react";
import { HashRouter, Route, Switch, Redirect } from "react-router-dom";
import Login from "@/views/login";
import index from "../views/index";

const Router = ()=>{
    return (
    <HashRouter>
        <Switch>
            <Route exact path="/login" component={Login} />
            <Route exact path="/" component={index} />
        </Switch>
    </HashRouter>
    )
}

export default Router